Video synthesis device, video synthesis method and recording medium

ABSTRACT

A rear-facing camera captures a live-action video image while a front-facing camera captures an image of a distributor. The avatar controller controls an avatar based on the image of the distributor captured by the front-facing camera, and move the position of the avatar in the real space coordinate system according to the position of the video synthesis device in the real space coordinate system. A synthesizer arranges the avatar in a predetermined position of a real space coordinate system and synthesizes the avatar with the live-action video image.

RELATED APPLICATIONS

This application is a 371 National Stage application claiming priority to International Application No. PCT/JP2018/047436, filed Dec. 25, 2018, which claims priority to Japanese Patent Application No. 2018-225031 filed on Nov. 30, 2018. The aforementioned applications are incorporated herein by references, in their entirety, for any purposes.

TECHNICAL FIELD

The present disclosure relates to a technology of generating an augmented reality video image.

BACKGROUND ART

There has been an increasing number of video distribution services that allow individuals to distribute video images via networks, in recent years. Among such video distribution services, there is known an application program that allows distribution of a video image with a computer graphics character (CG character) in place of a user. There is also a known technology of tracking a face in a selfie captured by a smartphone, and reflecting the facial expression of the user to a CG character.

CITATION LIST Patent Documents

PATENT DOCUMENT1: Japanese Unexamined Patent Publication No. 2017-188787

SUMMARY OF THE INVENTION

By synthesizing the CG character to a selfie video image by using a face-tracking technology, the CG character reflecting the facial expression of the user him/herself can be easily synthesized real time with a live-action video image.

However, the captured live-action video image is only the landscape behind the user. To synthesize a CG character that reflects the user's facial expression with an image of a landscape before the user's eyes as the background, the user needs to capture an image of him/herself with the intended landscape at the back of the user by using a selfie stick.

In view of the above circumstance, it is an object of the present invention to more easily generate a video image in which an expressive computer graphics character is synthesized.

A video synthesis device related to a first aspect of the present embodiment is a video synthesis device configured to generate an augmented reality video image in which an avatar is synthesized with a live-action video image, including: a first imaging unit configured to capture a live-action video image; a second imaging unit configured to capture an image of an operator; a position detector configured to detect a position and an orientation of the first imaging unit or the video synthesis device in a coordinate system corresponding to a real space; a controller configured to control the avatar based on an image captured by the second imaging unit and move a position of the avatar in the coordinate system according to a movement of the first imaging unit or the video synthesis device; and a synthesizer configured to arrange the avatar in a predetermined position of the coordinate system and synthesize the avatar with the live-action video image captured by the first imaging unit.

A video synthesis method related to a second aspect of the present embodiment is a video synthesis method for generating an augmented reality video image in which an avatar is synthesized with a live-action video image, including computer-executed steps of: detecting a position and an orientation of a first imaging unit configured to capture the live-action video image, in a coordinate system corresponding to a real space; controlling the avatar based on an image captured by a second imaging unit configured to capture an image of an operator; moving a position of the avatar in the coordinate system according to a movement of the first imaging unit; and arranging the avatar in a predetermined position of the coordinate system and synthesizing the avatar with the live-action video image captured by the first imaging unit.

A recording medium related to a third aspect of the present embodiment is a computer-readable recording medium, storing a program to cause a processor to execute the processes of: detecting a position and an orientation of a first imaging unit configured to capture the live-action video image, in a coordinate system corresponding to a real space; controlling the avatar based on an image captured by a second imaging unit configured to capture an image of an operator; and moving a position of the avatar in the coordinate system according to a movement of the first imaging unit; and arranging the avatar in a predetermined position of the coordinate system and synthesizing the avatar with the live-action video image captured by the first imaging unit.

This embodiment allows easier generation of a video image in which an expressive computer graphics character is synthesized.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram showing an overall configuration of a video distribution system including a video synthesis device of an embodiment.

FIG. 2 is an explanatory diagram showing how a distributor distributes an AR video image.

FIG. 3 is a diagram showing an example of an AR video image when the capturing direction is panned to the right.

FIG. 4 is a functional block diagram showing an exemplary configuration of the video synthesis device of this embodiment.

FIG. 5 is a flowchart showing a flow of an avatar initial arrangement process.

FIG. 6 is a diagram showing an example in which a floor portion is superimposed and displayed on a captured video image.

FIG. 7 is a diagram showing an example in which an avatar is arranged on the floor portion of FIG. 6.

FIG. 8 is a diagram showing an example which a capturing direction is tilted upward from the state of FIG. 7.

FIG. 9 is a flowchart showing a flow of an AR video image generating process.

FIG. 10 is a flowchart showing a process of controlling facial expressions and postures of the avatar.

FIG. 11 is a diagram showing an example in which buttons are displayed on a touch panel.

FIG. 12 is a diagram showing an example in which the avatar is turned around to show its back while the distributor is moving.

DESCRIPTION OF EMBODIMENTS

The following describes embodiments with reference to attached drawings.

With reference to FIG. 1, the following describes an overall configuration of a video distribution system including a video synthesis device of the present embodiment. The video distribution system includes a video synthesis device 1 and a video distribution server 3.

The video synthesis device 1 synthesizes a 3-dimensional computer graphics character (avatar) with a live-action video captured by the video synthesis device 1 and generates an augmented reality video image (hereinafter, AR video image).

The video distribution server 3 receives the AR video image from the video synthesis device 1 and distributes the AR video image to viewer terminals 9. The video distribution server 3 may distribute in real time the AR video image received (so-called live broadcasting), or store the AR video image and distribute to the AR video image upon request from any of the viewer terminals 9.

The video distribution system may include an avatar management server 5 and a comment management server 7.

The avatar management server 5 manages 3-dimensional data of avatars. The video synthesis device 1 may allow generation of a customized avatar by combining parts of the avatar provided from the avatar management server 5.

The comment management server 7 receives a comment on the AR video image from the viewer terminal 9 and distributes the comment to the video synthesis device 1 and other viewer terminals 9.

The video synthesis device 1, the video distribution server 3, the avatar management server 5, the comment management server 7, and the viewer terminals 9 are connected and in communication with one another via a network.

The following describes the AR video image generated by the video synthesis device 1, with reference to FIG. 2 and FIG. 3.

The video synthesis device 1 includes a rear-facing camera and a front-facing camera whose respective capturing directions are opposite to each other, a microphone, a touch panel, and various sensors to detect the current position (e.g., an acceleration sensor, a gyro sensor, and the like). A video synthesis device 1 may be a smartphone or a tablet PC having a rear-facing camera and a front-facing camera.

As illustrated in FIG. 2, a distributor 200 holds the video synthesis device 1 and capture, with the rear-facing camera, an image of the landscape the distributor 200 sees while capturing an image of the distributor 200 with the front-facing camera. The video synthesis device 1 generates an AR video image by synthesizing an avatar 100 with the live-action video captured by the rear-facing camera. The video synthesis device 1 reflects the facial expression of the distributor 200 captured by the front-facing camera on the facial expression of the avatar 100. For example, while the distributor 200 is talking, the video synthesis device 1 tracks the face of the distributor 200 captured by the front-facing camera, and moves the mouth of the avatar 100 in response to the mouth movement of the distributor 200. The video synthesis device 1 may reflect the movement of the head of the distributor 200 on the avatar 100, or the gesture of the distributor 200 on the avatar 100. With this, the distributor 200 is able to control the avatar 100 while capturing the landscape before his/her eyes.

The video synthesis device 1 fixes the avatar 100 to a coordinate system that corresponds to the real space and synthesizes the avatar 100 with the video image. As illustrated in FIG. 3, when the capturing direction of the rear-facing camera is panned rightward, the avatar 100 shirts leftward in the video image along with the other objects in the real space.

[Configuration of Video Synthesis Device]

The following describes an exemplary configuration of the video synthesis device 1, with reference to FIG. 4. As shown in the figure, the video synthesis device 1 has a spatial measurement unit 11, an initial arrangement unit 12, an avatar controller 13, a synthesizer 14, a position detector 15, a front-facing camera 16, a rear-facing camera 17, an input unit 18, a display 19, a communication controller 20, and a storage 21. Each part of the video synthesis device 1 may be configured by a computer including an arithmetic processing device, a storage device and the like, and processes of each part may be executed by a program. Such a program may be stored in the storage device of the video synthesis device 1, or stored in a recording medium such as a magnetic disc, an optical disc, a semiconductor memory, and the like, or provided through a network. For example, an application program may be installed in a smartphone to function the smartphone as the video synthesis device 1.

The spatial measurement unit 11 performs measurement to obtain 3-dimensional spatial information of a real space for arranging therein the avatar, set a real space coordinate system corresponding to the real space, and detects an area in which the avatar can be arranged (hereinafter, avatar-arrangeable area). For example, a video image of the real space is captured by the rear-facing camera 17, and the 3-dimensional spatial information of the real space at the capturing site can be obtained through a measurement using a marker-less AR technology with a monocular camera. The spatial measurement unit 11 detects, as the avatar-arrangeable area, a flat portion such as a floor and the like in the 3-dimensional spatial information obtained by the measurement. The position to be detected as the avatar-arrangeable area by the spatial measurement unit 11 is not particularly limited as long as arranging of the avatar does not look unnatural, and may be an area sloped with respect to the ground or an area with an irregular shape.

If the video synthesis device 1 has a depth camera or a stereo camera, the spatial measurement unit 11 may obtain 3-dimensional spatial information from a measurement result of the depth camera or from a stereo image. The spatial measurement unit 11 stores, in the storage 21, the 3-dimensional spatial information obtained through the measurement.

The initial arrangement unit 12 determines an initial position of the avatar so that the avatar is in the avatar-arrangeable area detected by the spatial measurement unit 11. For example, an image in which a symbol (e.g., a frame indicating the range of the floor, and the like) indicating the avatar-arrangeable area is superimposed on the video image of the real space captured by the rear-facing camera 17, prompting the distributor to designate the initial position of the avatar. When the distributor taps a position within the avatar-arrangeable area, the initial arrangement unit 12 calculates the coordinates of the tapped position in the real space coordinate system, and determines the position as the avatar initial position. The initial arrangement unit 12 may arrange the avatar in any position within the avatar-arrangeable area. When the distributor swings the video synthesis device 1, the position of the avatar may be randomly changed.

The avatar controller 13 tracks the face of the distributor captured by the front-facing camera 16, and reflects the facial expression of the distributor on the facial expression of the avatar. The avatar controller 13 may control the avatar according to an operation input by the distributor through a menu and the like. The avatar controller 13 may control the posture and the position of the avatar based on the movement of the video synthesis device 1. For example, when the distributor is moving forward while capturing the landscape, the avatar may be controlled to walk forward.

The synthesizer 14 arranges the avatar in the real space coordinate system, and synthesizes the avatar with the video image captured by the rear-facing camera 17 to generate an AR video image. The AR video image is displayed on the display 19, and transmitted to the video distribution server 3 through the communication controller 20. The synthesizer 14 may store the AR video image in the storage 21. It should be noted that data required for rendering the avatar is received from the avatar management server 5 and stored in the storage 21. Avatar data stored in the storage 21 in advance may be used.

The position detector 15 detects the position and the orientation of the video synthesis device 1 in the real space coordinate system (also the position and the orientation of the rear-facing camera 17). The synthesizer 14 renders the avatar based on the position and the orientation detected by the position detector 15.

The front-facing camera 16 captures an image of the distributor (who is also an operator of the video synthesis device 1).

The rear-facing camera 17 captures an image of the landscape and an object of capturing to be delivered in the form of AR video image.

The input unit 18 receives an operation through the touch panel of the video synthesis device 1.

The display 19 displays on the touch panel an AR video image in which the avatar is synthesized with the live-action video captured by the rear-facing camera 17. Various buttons to operate the avatar may be displayed.

The communication controller 20 transmits the AR video image to the video distribution server 3.

[Initial Arrangement of Avatar]

The following describes an exemplary avatar initial arrangement process, with reference to FIG. 5.

The process shown in FIG. 5 is executed at a time of determining the position of the avatar in the real space coordinate system, before the distributor generates the AR video image.

The distributor starts the video synthesis device 1, and uses the rear-facing camera 17 to capture the video image of a site for arranging the avatar, and obtains the 3-dimensional spatial information of the site for arranging the avatar (step S11). Specifically, an application program is started to operate a smartphone as the video synthesis device 1, and an image of a flat place for arranging the avatar is captured by the rear-facing camera 17. The distributor captures the image of the arrangement place while slightly moving the video synthesis device 1. The 3-dimensional spatial information is obtained from the movement of a characteristic point detected based on the movement of the video synthesis device 1 and the captured video image, and the avatar-arrangeable area which allows arrangement of the avatar therein is detected. In this case, a flat “floor” is detected as the avatar-arrangeable area.

When the spatial measurement unit 11 obtains the 3-dimensional spatial information and detects the floor, the display 19 superimposes and displays a shape indicating the floor on the video image captured by the rear-facing camera 17 (step S12). For example, as illustrated in FIG. 6, a frame 110 indicating the floor position is superimposed and displayed on the video image captured by the rear-facing camera 17.

When the distributor taps on the frame 110, the avatar controller 13 arranges the avatar 100 in the position tapped as shown in FIG. 7 (step S13). The coordinates of the tapped position in the real space coordinate system is set as the coordinate of the avatar's standing position. When another position in the frame 110 is tapped, the newly tapped position is set as the avatars standing position. Once the coordinates of the avatar in the real space coordinate system are determined, the synthesizer 14 superimposes and displays the avatar in the live-action video captured by using the rear-facing camera 17. After that, the avatar is superimposed and displayed in the live-action video, as if the avatar actually exists in the real space. For example, when the capturing direction of the rear-facing camera 17 is tilted upward from the state illustrated in FIG. 7, the standing position of the avatar 100 remains fixed in the real space, and the upper half of the avatar 100 is displayed as illustrated in FIG. 8. Also when the capturing direction of the rear-facing camera 17 is panned leftward or rightward, the avatar 100 is superimposed and displayed in the live-action video while the standing position of the avatar 100 is fixed in the real space.

While the avatar 100 is displayed, the standing position of the avatar 100 may be adjustable by dragging the avatar 100. For example, when the distributor taps the avatar 100 and moves his/her finger leftward or rightward along the screen, while the avatar 100 is displayed as illustrated in FIG. 8, the standing position of the avatar 100 is moved leftward or rightward, respectively. When the distributor moves his/her finger upward or downward, the standing position of the avatar 100 is moved away from or closer to the distributor. When the avatar 100 is moved frontward, rearward, leftward, or rightward, the movement of the avatar 100 is stopped so as not to exceed the range recognized as the floor.

The initial arrangement unit 12 may randomly determine the standing position of the avatar when the distributor swings the video synthesis device 1. When the distributor tilts the video synthesis device 1, the initial arrangement unit 12 may determine the standing position of the avatar according to the tilt of the video synthesis device 1. For example, when the distributor tilts rightward the video synthesis device 1, the avatar 100 is moved rightward and tilting the video synthesis device 1 towards the distributor moves the avatar 100 towards the distributor.

The standing position of the avatar may be adjusted based on the image of the distributor captured by the front-facing camera 16. For example, when the distributor turns to the right, the standing position of the avatar moves rightward. When the distributor looks down, the standing position of the avatar moves towards the distributor.

When the distributor determines the position of the avatar, the initial arrangement unit 12 determines the size and the orientation of the avatar according to an operation by the distributor (step S14). For example, when the distributor flicks the touch panel upward or downward, the size of the avatar is enlarged or shrunk. The distributor flicking the touch panel leftward or rightward rotates the avatar. The distributor tapping the touch panel with two fingers resets the size and the orientation of the avatar to the initial size and the orientation.

On the floor including the avatar standing position, an object such as a tatami mattress, carpet, a stage may be arranged. In a case where a pedestal with a height is arranged as an object under the feet of the avatar, the standing position of the avatar is elevated by the height of the pedestal.

The avatar may be freely movable within a predetermined range of the floor portion, around the initial position of the avatar. For example, when the distributor is silent for a while, the avatar may be controlled so as to walk around within the predetermined range.

[Generating AR Video Image]

After the distributor finishes initial arrangement of the avatar, the video synthesis device 1 starts capturing the distributor with the front-facing camera 16 and starts generating the AR video image.

An exemplary process of generating an AR video image is described below with reference to FIG. 9.

At the same time the rear-facing camera 17 captures the image of the landscape (step S21), the front-facing camera 16 captures the image of the distributor (step S22). The microphone collects audio to accompany the video image.

The position detector 15 detects the position and the orientation of the video synthesis device 1 (step S23).

The avatar controller 13 controls the facial expression and the posture of the avatar based on the video image of the distributor captured by the front-facing camera 16 (step S24). Processes of the avatar controller 13 will be described later.

The synthesizer 14 synthesizes the avatar with the live-action video captured by the rear-facing camera 17 to generate an AR video image (step S25).

[Avatar Control]

The following describes, with reference to FIG. 10, a control process of the facial expression and the posture of the avatar by the avatar controller 13.

The avatar controller 13 determines whether or not the distributor is moving (step S31). Whether or not the distributor is moving is determined based on a movement of the video synthesis device 1 detected by the position detector 15.

If the distributor is moving (Yes in step S31), whether or not the avatar position is in a locked state is determined (step S32). The avatar position being in the locked state herein means that the position of the avatar in the real space coordinate system is not movable. The standing position of the avatar is not moved even when the distributor moves. On the other hand, when the avatar position is not in the locked state, the avatar is movable according to the movement of the video synthesis device 1, while the positions of the video synthesis device 1 and the avatar in the real space coordinate system is kept at a predetermined distance from each other. When the distributor (i.e., the video synthesis device 1) moves, the avatar controller 13 moves the position of the avatar according to the movement of the distributor. The movement of the avatar is described later.

By operating a position-lock button 130 displayed on the touch panel as shown in FIG. 11, the locked state of the avatar position is released. When the position-lock button 130 is operated while the position of the avatar is in the locked state, the locked state of the avatar position is released. If the position-lock button 130 is operated while the position of the avatar is not locked, the position of the avatar is brought into the locked state.

If the distributor is not moving (NO in step S31), or if the position of the avatar is locked (YES in step S32), the avatar controller 13 determines whether or not a facial expression button is operated (step S33). In the present embodiment, the touch panel displays facial expression buttons 120A, 120B, and 120C, as illustrated in FIG. 11. The facial expression buttons 120A, 120B, and 120C correspond to facial expressions of smiling, crying, and anger, respectively.

If any of the facial expression buttons 120A, 120B, and 120C is operated (YES in step S33), the avatar controller 13 changes the facial expression of the avatar according to which one of the facial expression buttons 120A, 120B, and 120C is operated (step S34). Emotions can be more clearly expressed by preparing animations of exaggerated facial expressions, and animating the avatar according to operation of the facial expression buttons. It is possible to cause the avatar to gesticulate in addition to changing of the facial expression on the avatar. For example, operating the facial expression button of crying causes the avatar to make a gesture of wiping tears by a hand.

The touch panel may also display a button to control the posture of the avatar (including the orientation of the avatar). For example, the touch panel may display a button to cause the avatar to turn around, a button for causing the avatar to turn its face or upper half of the body to the right or left, and the like. By operating any of these buttons, the avatar controller 13 changes the posture of the avatar according to the button operated.

The facial expression and the posture of the avatar may be controllable from a menu. For example, an edge of the touch panel is swiped to call a menu bar and an item corresponding to an intended facial expression and posture of the avatar is selected.

The avatar may be controllable by an image of a hand gesture captured by the front-facing camera 16. In this ease, the avatar controller 13 associates hand gestures with control details of the avatar (facial expressions, postures, and the like), and when a specific hand gesture is detected from the video image captured by the front-facing camera 16, controls the avatar according to the detected hand gesture. For example, when the front-facing camera 16 captures an image of a gesture of making a fist, the facial expression of the avatar is changed to “angry.”

Further, the avatar may be controllable by an image of text or a design captured by the front-facing camera 16. In this case, when a specific text or design is detected from the video image captured by the front-facing camera 16, the avatar controller 13 controls the avatar according to the detected text and the like. For example, text of “Smile!” is written on a piece of paper, and capturing the image of that paper by the front-facing camera 16 causes the avatar to smile.

The avatar may be controllable by a movement of the video synthesis device 1. In this case, the avatar controller 13 associates a movement of the video synthesis device 1 with a control details of the avatar, and controls the avatar according to the movement of the video synthesis device 1 detected by the position detector 15. For example, tilting the video synthesis device 1 causes the avatar to bow. However, tilting the video synthesis device 1 also tilts the landscape captured by the rear-facing camera 17. Therefore, one frame of the video image captured immediately before the detection of the tilt is used as a still background image and the bowing avatar may be synthesized with the still image. The background image may be a video image of several seconds before the detection of the tilts, instead of the still image.

The avatar controller 13 may control the avatar based on information from a sensor attached to the distributor, or control the avatar by using an external input device such as a keyboard. In this case, the video synthesis device 1 performs wireless communications with the sensor or the input device.

If no facial expression buttons arc operated (YES in step S33), the avatar controller 13 tracks the face of the distributor captured by the front-facing camera 16, and reflects the facial expression of the distributor on the facial expression of the avatar (step S35). By reflecting the facial expression of the distributor captured by the front-facing camera 16 on the avatar, the avatar can be more expressively controlled without troubling the distributor.

The avatar controller 13 may cause the avatar to make a motion of speaking, change the facial expression or the posture, or turn around, based on the audio of the distributor collected by a microphone.

If the distributor is moving (YES in step S31), and if the position of the avatar is not in the locked state (NO in step S32), the avatar controller 13 orients the avatar 100 to the direction in which the distributor moves (step S36), and moves the standing position of the avatar 100 in the traveling direction (step S37). Specifically, the avatar controller 13 moves the position of the avatar in such a manner that the distance between the position of the video synthesis device 1 and the standing position of the avatar in the real space coordinate system is kept at a predetermined interval. The avatar controller 13 moves the avatar away from the distributor when the distributor (video synthesis device 1) advances, moves towards the distributor when the distributor moves back, and stops the avatar when the distributor stops. It should be noted that step S33 to step S35 may be executed independently of the movement of the avatar. Specifically, step S33 may be executed after step S37 is executed.

The avatar controller 13 may lock the orientation of the avatar, or orient the avatar to the traveling direction. For example, when the distributor moves forward in the state shown in FIG. 11, while the position of the avatar is unlocked and the orientation of the avatar is locked, the avatar controller 13 causes the avatar to move backward while orienting the avatar to face the video synthesis device 1. On the other hand, when the distributor moves forward in the state shown in FIG. 11, while neither the position nor the orientation of the avatar is unlocked, the avatar controller 13 orients the avatar in the traveling direction and causes the avatar to move forward, as illustrated in FIG. 12.

When the microphone collects a voice of someone other than the distributor, the avatar controller 13 may orient the avatar to the source of the audio.

When the avatar is moved to an object other than the floor (e.g., a wall), the avatar controller 13 may stop the avatar at the end of the floor without further moving the avatar. When the distributor distributes an AR video image while walking, the spatial measurement unit 11 detects a flat portion in the traveling direction from the video image captured by the rear-facing camera 17, and the avatar controller 13 moves the avatar to the flat portion in the traveling direction. As thus described above, when the distributor distributes an AR video image while walking on a road, it is possible to generate an AR video image in which the avatar appears as if it is walking on the road.

When the distributor pans the rear-facing camera 17 to the left or right while the avatar position is not in the locked state, the avatar controller 13 may move the avatar leftward or rightward, according to the capturing direction.

As described hereinabove, in the present embodiment, a rear-facing camera 17 captures a live-action video image while a front-facing camera 16 captures an image of a distributor. An avatar controller 13 controls an avatar based on an image of the distributor captured by the front-facing camera 16. A synthesizer 14 arranges the avatar in a predetermined position of a real space coordinate system and synthesizes the avatar with the live-action video image. This way, the distributor is able to generate an AR video image in which the avatar reflecting thereon a facial expression of the distributor is synthesized, while capturing a landscape before the eyes of the distributor. By tracking the face of the distributor captured by the front-facing camera 16 and reflecting the facial expression on the avatar, an expressive avatar can be synthesized.

In the present embodiment, a spatial measurement unit 11 obtains 3-dimensional spatial information of a location where the live-action video image is captured, and detects an avatar-arrangeable area which allows arrangement of the avatar. The initial arrangement unit 12 arranges the avatar in the avatar-arrangeable area and determines the position of the avatar in the real space coordinate system. This way, the avatar can be fixed in the real space without setting a marker for determining a standing position of the avatar.

In the present embodiment, the avatar controller 13 moves the position of the avatar in the real space coordinate system according to the position of the video synthesis device 1 in the real space coordinate system. Therefore, when the distributor holds the video synthesis device 1 and captures an image while walking, an AR video image in which the avatar moves along with the movement of the distributor is synthesized can be generated.

It should be noted that the present embodiment deals with a case where the video synthesis device 1 generates an AR video image. However, the video synthesis device 1 may transmit, to a server, necessary information for generating an AR video image such as live-action video image captured by the rear-facing camera 17 and the image captured by the front-facing camera 16, and the AR video image may be generated in the server or in a cloud environment.

The present disclosure relates to the subject matter described in Japanese patent application No. 2018-225031 filed on Nov. 30, 2018, the entire contents of which are herein incorporated by reference. 

The invention claimed is:
 1. A video synthesis device configured to generate an augmented reality video image in which an avatar is synthesized with a live-action video image, the device comprising: a rear-facing camera configured to capture a live-action video image; a front-facing camera configured to capture an image of an operator; one or more sensors configured to detect a position and an orientation of the rear-facing camera of the video synthesis device in a coordinate system corresponding to a real space; a processor configured to control the avatar based on the image captured by the front-facing camera and further configured to move the avatar in the coordinate system according to a movement of the detected position of the rear-facing camera of the video synthesis device in the coordinate system, and further configured to arrange the avatar in a predetermined position of the coordinate system and further configured to synthesize the avatar with the live-action video image captured by the rear-facing camera, wherein the processor is configured to lock or unlock an orientation of the avatar, and further configured to orient the avatar to a direction according to the movement of the detected position while the orientation of the avatar is unlocked.
 2. The video synthesis device of claim 1, wherein the processor is configured to control the avatar based on a gesture of the operator, text, or a design, the gesture of the operator being captured by the front-facing camera.
 3. The video synthesis device of claim 1, wherein the processor is further configured to control an orientation of the avatar based on the movement of the video synthesis device.
 4. The video synthesis device of claim 1, further comprising a touch panel through which an operation by the operator is input, wherein the processor is configured to control the avatar based on the operation input through the touch panel.
 5. The video synthesis device of claim 4, wherein the processor is configured to cause the touch panel to display a button, and wherein the processor is further configured to cause the avatar to turn around responsive to the operation input on the button.
 6. The video synthesis device of claim 1, further comprising a microphone through which audio is input, wherein the processor is configured to control the avatar based on the audio input through the microphone.
 7. The video synthesis device of claim 1, wherein capturing directions of the rear-facing camera and the front-facing camera that are opposite to each other.
 8. The video synthesis device of claim 1, wherein a distance between the video synthesis device and the avatar in the coordinate system is maintained.
 9. A video synthesis method for generating an augmented reality video image in which an avatar is synthesized with a live-action video image, the method, executed by a computer, comprising: detecting a position and an orientation of a rear-facing camera configured to capture the live-action video image, in a coordinate system corresponding to a real space; controlling the avatar based on an image captured by a front-facing camera configured to capture an image of an operator comprising: locking or unlocking an orientation of the avatar; orienting the avatar to a direction according to a movement of the detected position of the rear-facing camera in the coordinate system while the orientation of the avatar is unlocked; moving the avatar in the coordinate system according to the movement of the detected position of the rear-facing camera in the coordinate system; and arranging the avatar in a predetermined position of the coordinate system and synthesizing the avatar with the live-action video image captured by the rear-facing camera.
 10. The video synthesis method of claim 9, wherein controlling the avatar is based on a gesture of the operator, text, or a design, and wherein the gesture of the operator is captured by the front-facing camera.
 11. The video synthesis method of claim 9, further comprising: controlling an orientation of the avatar based on the movement of the rear-facing camera.
 12. The video synthesis method of claim 9, further comprising: receiving an operation by a touch panel; and controlling the avatar based on the operation.
 13. The video synthesis method of claim 9, further comprising: collecting audio by a microphone; and controlling the avatar based on the audio.
 14. The video synthesis method of claim 9, wherein capturing directions of the rear-facing camera and the front-facing camera are opposite to each other.
 15. A non-transitory computer-readable recording medium, storing a video synthesis program for generating an augmented reality video image in which an avatar is synthesized with a live-action video image that causes a processor to execute: detecting a position and an orientation of a rear-facing camera configured to capture the live-action video image, in a coordinate system corresponding to a real space; controlling the avatar based on an image captured by a front-facing camera configured to capture the image of an operator, comprising: locking or unlocking an orientation of the avatar; orienting the avatar to a direction according to a movement of the detected position of the rear-facing camera in the coordinate system while the orientation of the avatar is unlocked; moving the avatar in the coordinate system according to the movement of the detected position of the rear-facing camera in the coordinate system; and arranging the avatar in a predetermined position of the coordinate system and synthesizing the avatar with the live-action video image captured by the rear-facing camera.
 16. The non-transitory computer-readable recording medium of claim 15, wherein controlling the avatar is based on a gesture of the operator, text, or a design, and wherein the gesture of the operator is captured by the front-facing camera.
 17. The non-transitory computer-readable recording medium of claim 15, further causes a processor to execute: controlling an orientation of the avatar based on the movement of the rear-facing camera.
 18. The non-transitory computer-readable recording medium of claim 15, further causes a processor to execute: receiving an operation by a touch panel; and controlling the avatar based on the operation.
 19. The non-transitory computer-readable recording medium of claim 15, further causes a processor to execute: collecting audio by a microphone; and controlling the avatar based on the audio.
 20. The non-transitory computer-readable recording medium of claim 15, wherein capturing directions of the rear-facing camera and the front-facing camera are opposite to each other. 